<template>
	<view class="detailedbox">
		<zui-navbar :title='info.agreement_name'></zui-navbar>
		<view class="jianjie">
			<mp-html :content="info.agreement_detail" />
		</view>
	</view>
</template>
<script>
export default {
	data() {
		return {
			info: {}
		};
	},
	onLoad() {
		this.getinfo();
	},
	onShow() {},
	methods: {
		getinfo() {
			uni.$u.http
				.get('/app/agreement/detail?id=1', {
					custom: {
						auth: false,
						toast: true,
						catch: true
					}
				})
				.then(res => {
					this.info = res;
				})
				.catch(err => {});
		},
	},
	onReachBottom() {}
};
</script>
<style lang="scss" scoped>
.detailedbox {
	width: 100%;
	min-height: 100vh;
	padding: 100rpx 30rpx 2vh;
	box-sizing: border-box;
	.jianjie {
		width: 100%;
		min-height: 90vh;
		color: #fff;
		font-size: 26rpx;
	}
}
</style>
